package com.itheima.stock.service;

import com.itheima.stock.pojo.domain.*;
import com.itheima.stock.pojo.vo.PageResult;
import com.itheima.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
    R<List<InnerMarketDomain>> innerIndexAll();

    R<List<StockBlockDomain>> sectorAll();

    R<PageResult> getStockPageInfo(Integer page, Integer pageSize);

    R<List<StockUpdownDomain>> getStockInfoByRank();

    R<Map> getStockUpdownCount();

    void stockExport(HttpServletResponse response, Integer page, Integer pageSize);

    R<Map<String, List>> stockTradeVol4InnerMarket();

    R<Map> getStockUpDown();

    R<List<Stock4MinuteDomain>> stockScreenTimeSharing(String code);

    R<List<Stock4EvrDayDomain>> getDayKLinData(String code);

    public R<List<InnerMarketDomain>> getInnnerMarketInfos();

    R<List<StockOuterMarket>> getOuterMarketInfo();

    R<List<stockLixangXiang>> getStockLixangXiang(String searchStr);

    R<stockDescribe> getStockDescribe(String code);

    R<Stock4NewRtDomain> getStock4NewRtDomain(String code);

    R<List<Stock4RtNewWater>> getStock4RtNewWater(String code);
}
